How could there still not be a mysqldb module for Python 3? [closed]

Posted by itsadok on Programmers See other posts from Programmers or by itsadok
Published on 2010-12-30T08:28:06Z Indexed on 2012/12/04 17:20 UTC
Read the original article Hit count: 183

Filed under:
|

This SO question is now more than two years old. MySQL is an incredibly popular database engine, Python is an incredibly popular programming language, and Python 3 has been officially released two years ago, and was available even before that.

What's more, the whole mysqldb module is just a layer translating Python's db-api to MySQL's API. It's not that big of a library.

I must be missing something here. How come almost* nobody in the entire open source community has spent the (I'm guessing) two weeks it takes to port this lib?

  1. Is Python 3 that unpopular?
  2. Is the combination of python and mysql not as common as I assume?
  3. Or maybe it's just a lot harder to port mysqldb than I assume?

Anyone know the inside story on this?

* Now I see that this guy has done it, which takes some of the wind out of my question, but it still seems to little and too late to make sense.

EDIT: OK, I'm aware that the stock answers for these kind of questions cover this one as well. Patches welcome, scratch your itch, we don't work for you and we don't have the time, etc. I actually took a shot at porting this about a year ago, but it was my first time doing anything with Python C extensions, and I failed.

My point in writing this was not a plea for somebody to write it, but genuine curiosity: it seems that some much more complicated libraries have been ported to python 3 already, and in the poll for which libraries should be ported, mysqldb is not even nominated! That suggests that maybe (2) is the right answer.

UPDATE: I found that there are several new libraries that provide mysql support under Python 3, I just wasn't googling hard enough. That explains everything.

© Programmers or respective owner

Related posts about python

Related posts about mysql